package com.jyxd.web.service.assessment.basic;

import com.jyxd.web.dao.basic.MonitorLinkRecordDao;
import com.jyxd.web.data.basic.MonitorLinkRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MonitorLinkRecordService {

    @Autowired
    private MonitorLinkRecordDao monitorLinkRecordDao;

    public boolean insert(MonitorLinkRecord monitorLinkRecord) {
        return monitorLinkRecordDao.insert(monitorLinkRecord);
    }

    public MonitorLinkRecord queryData(String id) {
        return monitorLinkRecordDao.queryData(id);
    }

    public List<MonitorLinkRecord> queryList(MonitorLinkRecord monitorLinkRecord){
        return monitorLinkRecordDao.queryList(monitorLinkRecord);
    }

    public int queryNum(Map<String, Object> map){
        return monitorLinkRecordDao.queryNum(map);
    }

    public boolean deleteData(Map<String, Object> map){
        return monitorLinkRecordDao.deleteData(map);
    }

}
